<#include "../../head.ftl">
<div class="page_title">客户信息管理 > 客户信息</div>
<div class="button_bar">
    <button class="common_button" onclick="help('');">帮助</button>
    <button class="common_button" onclick="to('linkman.html');">联系人</button>
    <button class="common_button" onclick="to('activities.html');">交往记录</button>
    <button class="common_button" onclick="to('orders.html');">历史订单</button>

    <button class="common_button" onclick="back();">返回</button>
    <button class="common_button" onclick="document.forms[0].submit();">保存</button>
</div>
<form action="${base}/customer/save" method="post">
<table class="query_form_table">
    <tr>
        <th>客户编号</th>
        <td>WHY-</td>
        <th>名称</th>
        <td><input type="text" name="name" value="${refer.name}" /><span class="red_star">*</span></td>
    </tr>
    <tr>
        <th>地区</th>
        <td>
            <select name="area">
                <option value="">全部</option>
				<#list areaList as area>
				    <option value="${area.items}">${area.items}</option>
				</#list>
            </select>
            <span class="red_star">*</span></td>
        <th>客户经理</th>
        <td>
            <select name="managerUser.id">
				<option value="${refer.appointUser.id}">${refer.appointUser.name}</option>
				<#list userList as user1>
				<#if refer.appointUser.id!=user1.id>
				    <option value="${user1.id}">${user1.name}</option>
				</#if>
				</#list>
			</select>
        </td>
    </tr>
    <tr>
        <th>客户等级</th>
        <td>
            <select name="grade">
                <option value="">全部</option>
				<#list gradeList as grade>
				    <option value="${grade.items}">${grade.items}</option>
				</#list>
            </select>
			<span class="red_star">*</span>
        </td>
        <th>　</th>
        <td>　</td>
    </tr>
    <tr>
        <th>客户满意度</th>
        <td>
            <select name="satisfied">
				<option value="">未指定</option>
                <option value="5">☆☆☆☆☆</option>
                <option value="4">☆☆☆☆</option>
                <option value="3">☆☆☆</option>
                <option value="2">☆☆</option>
                <option value="1">☆</option>
			</select>
			<span class="red_star">*</span>
        </td>
        <th>客户信用度</th>
        <td>
            <select name="credit">
				<option value="">未指定</option>
                <option value="5">☆☆☆☆☆</option>
                <option value="4">☆☆☆☆</option>
                <option value="3">☆☆☆</option>
                <option value="2">☆☆</option>
                <option value="1">☆</option>
			</select>
			<span class="red_star">*</span>
        </td>
    </tr>
</table>
<br />
<table class="query_form_table" id="table1">
    <tr>
        <th>地址</th>
        <td><input type="text" name="address" value=""  /><span class="red_star">*</span>
        </td>
        <th>邮政编码</th>
        <td><input type="" name="postalcode" value=""  size="20" /><span class="red_star">*</span></td>
    </tr>
    <tr>
        <th>电话</th>
        <td>
            <input type="text" name="telephone" value="" size="20"  /><span class="red_star">*</span></td>
        <th>传真</th>
        <td>
            <input type="text" name="telautogram" value="" size="20"  /><span class="red_star">*</span>
        </td>
    </tr>
    <tr>
        <th>网址</th>
        <td>
            <input type="text" name="url" value="" size="20"  /><span class="red_star">*</span>
        </td>
        <th>　</th>
        <td>　</td>
    </tr>
</table>
<br />
<table class="query_form_table" id="table2">
    <tr>
        <th>营业执照注册号</th>
        <td><input type="text" name="blrnumber" value="" size="20" /></td>
        <th>法人</th>
        <td><input type="text" name="boss" value="" size="20" /><span class="red_star">*</span>
        </td>
    </tr>
    <tr>
        <th>注册资金（万元）</th>
        <td>
            <input type="text" name="fund" value="" size="20" /> </td>
        <th>年营业额</th>
        <td>
            <input type="text" name="turnover" value="" size="20" />
        </td>
    </tr>
    <tr>
        <th>开户银行</th>
        <td>
            <input type="text" name="bank" value="" size="20" /><span class="red_star">*</span>
        </td>
        <th>银行帐号</th>
        <td><input type="text" name="account" value="" size="20" /><span class="red_star">*</span></td>
    </tr>
    <tr>
        <th>地税登记号</th>
        <td>
            <input type="text" name="landtax" value="" size="20" /></td>
        <th>国税登记号</th>
        <td><input type="text" name="nationaltax" value="" size="20" /></td>
    </tr>
</table>
</form>
<p>　</p>
</body>
</html>